From: Dario Faggioli Date: Tue, 26 Jun 2012 16:00:20 +0000 (+0100) Subject: libxl: fix a typo in the GCREALLOC_ARRAY macro X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8285 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=e57d79c9e2eabc1ed18dc25593bee21a509dbc62;p=xen.git libxl: fix a typo in the GCREALLOC_ARRAY macro Causing a build failure when trying to use it: xxx: error: expected ';' before ')' token xxx: error: expected statement before ')' token Signed-off-by: Dario Faggioli Committed-by: Ian Campbell --- diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index fa4c08ff87..31390e35c6 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -1972,7 +1972,7 @@ struct libxl__domain_create_state { #define GCREALLOC_ARRAY(var, nmemb) \ (assert(nmemb > 0), \ assert(ARRAY_SIZE_OK((var), (nmemb))), \ - (var) = libxl__realloc((gc), (var), (nmemb)*sizeof(*(var))))) + (var) = libxl__realloc((gc), (var), (nmemb)*sizeof(*(var)))) /*